package com.shicijiaoliu.service;

import com.shicijiaoliu.pojo.Author;

import java.util.List;

public interface Authorservice {
    void addauthor(Author author);

    Author findByname(String name);

    List<Author> findauthorBypage(int pagecount, int pagenumber,String name, String dynasty);

    int getcount(String name,String dynasty);

    void updateauthor(Author author);

   Author findByid(long id);

    void delauthor(long id);
}
